using Common.Enum;

namespace SSettings.ExperimentColumn
{
	public class ColumnsFactory
	{
		public static GridColumns CreateColumns(EProjectType type)
		{
			GridColumns gridColumns = null;
			switch (type)
			{
			case EProjectType.Melt:
				gridColumns = new MeltColumns();
				break;
			case EProjectType.HRM:
				gridColumns = new HRMColumns();
				break;
			case EProjectType.AD:
				gridColumns = new ADColumns();
				break;
			case EProjectType.RQ:
				gridColumns = new RQColumns();
				break;
			case EProjectType.TQ:
				gridColumns = new TQColumns();
				break;
			case EProjectType.IA:
				gridColumns = new IAColumns();
				break;
			case EProjectType.FastCal:
				gridColumns = new FastCalColumns();
				break;
			default:
				gridColumns = new AQColumns();
				break;
			}
			gridColumns.SetVisibilityDefault();
			return gridColumns;
		}
	}
}
